public static IEnumerable<Point> Read( XName n, XElement e, IEnumerable<Point> defval )
Parameters
- n
- the attribute name, often the same as the data's property name
- e
- the
XElement
holding the expected attribute - defval
- the default value for the property
Return Value
the attribute value converted to the expected data type, or the default value